﻿using SportsPlatform.BaseModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Model.PermissionManagement
{
    /// <summary>
    /// 平台信息表
    /// </summary>
    [Table("PM_PlatformInfo")]
    public class PlatformInfo :BaseModel
    {
        /// <summary>
        /// 平台名字
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string PlatformName { get; set; }

        /// <summary>
        /// 平台描述
        /// </summary>
        [Column(TypeName = "text")]
        public string PlatformDescribe { get; set; }

        /// <summary>
        /// 状态，是否启用
        /// </summary>
        public bool States { get; set; }
    }
}
